package com.zhuangjie.shop.enums;


/**
 * 活动需要用户类型枚举
 *
 * @author zhuangjie
 * @date 2024/03/22
 */
public enum ActivityRequireUserEnum {
    ALL_USERS((short) 0, "全部用户"),
    MEMBER((short) 1, "会员"),
    NEW_USER((short) 2, "新客");

    private final short code;
    private final String name;

    ActivityRequireUserEnum(short code, String name) {
        this.code = code;
        this.name = name;
    }

    public short getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
